using System;
using PPI.Entities.Interface;
using PPI.Entities.Settings.Mobile;

namespace PPI.Entities
{
	[Serializable]
	public class EUtility : IMobileSetting
	{
		#region Miembros Privados
		Int32 m_UtilityId;
		string m_Name;
		string m_Status;
		string m_State;
		#endregion Miembros Privados

		#region Propiedades
		public Int32 UtilityId
		{
			get { return m_UtilityId; }
			set { m_UtilityId = value; }
		}
		public string Name
		{
			get { return m_Name; }
			set { m_Name = value; }
		}

	    public int Id
	    {
            get { return m_UtilityId; }
	    }

	    public string Status
		{
			get { return m_Status; }
			set { m_Status = value; }
		}
		public string State
		{
			get { return m_State; }
			set { m_State = value; }
		}

	    public EnumMobileSettings MobileSettingKey
	    {
            get { return EnumMobileSettings.Utility;}
	    }

	    #endregion Propiedades

		#region Constructores
		#region summary
		/// <summary>
		/// Date: 04/28/2008
		/// Time: 11:56:56
		/// Generated by: VMCoder
		/// Generated using VirtualGenerator
		/// </summary>
		#endregion summary
		public EUtility()
		{
			m_UtilityId = Int32.MinValue;

		}

		#region summary
		/// <summary>
		/// Date: 04/28/2008
		/// Time: 11:56:56
		/// Generated by: VMCoder
		/// Generated using VirtualGenerator
		/// </summary>
		#endregion summary
		public EUtility(Int32 utilityId)
			: this()
		{
			m_UtilityId = utilityId;

		}
        public EUtility(Int32 utilityId, string name)
            : this(utilityId)
        {
            m_Name = name;

        }

        #region summary
        /// <summary>
        /// Date: 04/28/2008
        /// Time: 11:56:56
        /// Generated by: VMCoder
        /// Generated using VirtualGenerator
        /// </summary>
        #endregion summary
        public EUtility(Int32 utilityId, string name, string status, string state)
            : this(utilityId)
        {
            m_Name = name;
            m_Status = status;
            m_State = state;

        }

		#endregion Constructores
	}
}

